projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e7d856
)
ide.h: Make ide_(read|write) match block_dev_desc_t block_(read|write)
author
Tom Rini
<
[email protected]
>
Sat, 29 Sep 2012 14:36:43 +0000
(07:36 -0700)
committer
Tom Rini
<
[email protected]
>
Mon, 15 Oct 2012 18:54:03 +0000
(11:54 -0700)
block_dev_desc_t says that block_(read|write) take lbaint_t for blkcnt
not ulong
Signed-off-by: Tom Rini <
[email protected]
>
include/ide.h
patch
|
blob
|
history
diff --git
a/include/ide.h
b/include/ide.h
index 385e9098c6737a37ebb31a29b4bd2fe1cce6cfc3..95dcbdd362e51fdfd2b46f7ac49128e91e383953 100644
(file)
--- a/
include/ide.h
+++ b/
include/ide.h
@@
-51,8
+51,8
@@
typedef ulong lbaint_t;
*/
void ide_init(void);
-ulong ide_read(int device,
lbaint_t blknr, ulong
blkcnt, void *buffer);
-ulong ide_write(int device,
lbaint_t blknr, ulong
blkcnt, const void *buffer);
+ulong ide_read(int device,
ulong blknr, lbaint_t
blkcnt, void *buffer);
+ulong ide_write(int device,
ulong blknr, lbaint_t
blkcnt, const void *buffer);
#if defined(CONFIG_OF_IDE_FIXUP)
int ide_device_present(int dev);